
const app = require('./app')
const router = require('./routers')

const bodyParser = require('koa-bodyparser');
app.use(bodyParser())

app.use(router.routes())
app.listen(3001,()=>{
    console.log('server is runing http://localhost:3001')
})